package com.easy.mapper;

import com.easy.bean.Room_maintenance;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Room_maintenanceDao {
    int add(@Param("param") Room_maintenance room_maintenance);
    int del(@Param("id")Integer id);
    int edit(@Param("param")Room_maintenance room_maintenance);
    Room_maintenance one(@Param("id")Integer id);
    List<Room_maintenance> all(@Param("param")Room_maintenance room_maintenance);


    int pageCount(@Param("param")Room_maintenance room_maintenance);
    List< Room_maintenance> page(@Param("page") Page page, @Param("param")Room_maintenance room_maintenance);

}
